package com.bensonbasement.snorflux.messages.fromserver;

import com.bensonbasement.snorflux.memory.Memory;


public class JoinedMessage implements IFromServerMessage {
	
	private static final long serialVersionUID = 1L;
	private final String playerName;
	private final PlayerInfo[] playerList;
	private final Memory memory;
	
	public JoinedMessage(String playerName, PlayerInfo[] playerList, Memory memory) {
		this.playerName = playerName;
		this.playerList = playerList;
		this.memory = memory;
	}

	public String getPlayerName() {
		return playerName;
	}

	public PlayerInfo[] getPlayerList() {
		return playerList;
	}
	
	public Memory getMemory() {
		return memory;
	}
}
